Skip to main content

BaseListItem

Reusable component for menu items that take up the full width of the screen that is touchable.

NameTypeDefault ValueRequiredDescription
testIdstringNotest id string also used for the accessibility label
a11yHintstringYesThe a11y hint text
a11yValuestringNooptional a11y text value
a11yRoleAccessibilityRoleNooptional accessibility role. By default it will be button
a11yStateAccessibilityStateNooptional accessibility state
onPress() => voidNoonPress callback
decoratorButtonDecoratorTypeNoDecorator Type to use
decoratorPropsListItemDecoratorPropsNoOptional props to be passed to the decorator
childrenanyNoOptional child elements to use instead of listOfText if you need to do special styling
backgroundColorBackgroundVariantNoOptional background color for an individual item
activeBackgroundColorBackgroundVariantNoOptional active background color for an individual item
claimsRequestNumbernumberNoOptional file request number for the number indicator
fileUploadedbooleanNoOptional file request if file was loaded to show check mark
minHeightnumberNoOptional min height